package cbh.tool.scheduler;

/**
 * Created by hx-pc on 16-5-6.
 */
public class RestTaskExecuteException extends RuntimeException{

    private String message;

    public RestTaskExecuteException() {
        this.message = "Rest执行错误";
    }

    public RestTaskExecuteException(String message) {
        this.message = message;
    }

    public RestTaskExecuteException(String message, Throwable cause) {
        super(cause);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
